const categoryService = require("@/server/category");
const { successData } = require("@/utils/r/result");

const category = {
  async GetFrontList(req, res) {
    successData(res, await categoryService.GetFrontList());
  },
};

module.exports = category;
